import $ from 'jquery'
$('li').each((i,item)=>{
    $(item).css('color',i%2===0?'red':'green')
})

import './assets/css/style.css'
import './assets/less/index.less'

import imgUrl from './assets/images/logo.png'
let oimg=document.createElement('img')
oimg.src=imgUrl
oimg.style.width=100+'px'
document.body.appendChild(oimg)

import './assets/font/iconfont.css'
const i1=document.createElement('i')
const i2=document.createElement('i')
i1.className='iconfont icon-qq'
i2.className='iconfont icon-weixin'
document.body.appendChild(i1)
document.body.appendChild(i2)

const fn =()=>{
    console.log('我是箭头函数');
}
console.log(fn);